/* A temporary fix for blox-tailwind v0.8.0. */
/* Base styles for better text rendering */
@layer base {
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
  }

  body {
    line-height: 1.5;
  }
}

/* Custom utilities and components */
@utility task-list {
  list-style: none;
  padding-left: 1.5rem;
}

/* Custom typography styles - the plugin handles the base styles */
/* Additional customization for prose elements */
@layer components {
  .prose a {
    text-decoration: underline;
    text-decoration-color: var(--color-primary-300);
    font-weight: 500;
  }

  .prose a:hover {
    color: var(--color-primary-600) !important;
    text-decoration: none !important;
    border-radius: 0.09rem;
  }

  .prose mark {
    color: var(--color-neutral-900);
    background-color: var(--color-primary-200);
    padding: 0.1rem 0.2rem;
    border-radius: 0.25rem;
  }

  .dark .prose-invert a {
    text-decoration-color: var(--color-neutral-500);
  }

  .dark .prose-invert a:hover {
    color: var(--color-primary-300) !important;
  }

  .dark .prose-invert mark {
    background-color: var(--color-primary-400);
    color: black;
  }
}